From: Ryan Schmidt Date: Mon, 1 Sep 2008 21:58:05 +0000 (+0000) Subject: * fixing error causing a PHP E_NOTICE. X-Git-Tag: 1.31.0-rc.0~45526 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=409c267695c88eae6f5949e57e175a7f86286e98;p=lhc%2Fweb%2Fwiklou.git * fixing error causing a PHP E_NOTICE. --- diff --git a/includes/filerepo/ForeignAPIFile.php b/includes/filerepo/ForeignAPIFile.php index 5d69189f7a..42bd7e10b8 100644 --- a/includes/filerepo/ForeignAPIFile.php +++ b/includes/filerepo/ForeignAPIFile.php @@ -148,7 +148,7 @@ class ForeignAPIFile extends File { function purgeDescriptionPage() { global $wgMemc; $url = $this->repo->getDescriptionRenderUrl( $this->getName() ); - $key = wfMemcKey( 'RemoteFileDescription', 'url', md5($renderUrl) ); + $key = wfMemcKey( 'RemoteFileDescription', 'url', md5($url) ); $wgMemc->delete( $key ); }